package com.woniuxy.core.service;

import com.woniuxy.entity.DTO.RankItem;

import java.math.BigDecimal;
import java.util.List;

public interface RankingService {
    public List<RankItem> getTopRankings(int topN);
    public void updateRanking(int userId, BigDecimal earnings);
}
